package com.hyt.it.ogt.kq.service.bm.model.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.hyt.core.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

/**
 * <p>
 * 报名项目科目
 * </p>
 *
 * @author wangt
 * @since 2020-05-15
 */
@Data
@JsonIgnoreProperties(ignoreUnknown = true)
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("bm_project_subject")
@ApiModel(value = "ProjectSubject对象", description = "报名项目科目")
public class ProjectSubject extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "报名项目id")
    private String projectId;

    @ApiModelProperty(value = "科目id")
    private String subjectId;

    @ApiModelProperty(value = "科目名称")
    private String subjectName;

    @ApiModelProperty(value = "机构id")
    private String officeId;

    @ApiModelProperty(value = "部门ID")
    private String deptId;
    
    
    @ApiModelProperty(value = "限制科目报考 0：不限制  1：限制")
    private Integer limitSubjectRegister;
    
    @ApiModelProperty(value = "最大报名人数")
    private Integer maxNumberofRegister;
    
    @ApiModelProperty(value = "是否需要缴费:0不需要,1需要")
    private Integer isPay;

    @ApiModelProperty(value = "价格")
    private BigDecimal price;

    @ApiModelProperty(value = "描述")
    private String description;

    @ApiModelProperty(value = "排序号")
    private Integer sortNum;
	
	/**************************************非表中数据***************************************/
    
    @ApiModelProperty(value = "0:未报名，1：已报名")
	@TableField(exist = false)
    private String status; 

	@TableField(exist = false)
	@ApiModelProperty(value = "审核状态（0:待审核，1：通过，2：未通过）")
	private String audit;

	@TableField(exist = false)
	@ApiModelProperty(value = "审核状态:0未通过,1通过,2未通过")
	private Integer isAudit;

	@TableField(exist = false)
	@ApiModelProperty(value = "审核不通过原因")
	private String auditResult;

	@TableField(exist = false)
	@ApiModelProperty(value = "缴费状态（0:待缴费，1：缴费）")
	private String payStatus;

	@TableField(exist = false)
	@ApiModelProperty(value = "考试状态")
	private String ksStatus;

	@TableField(exist = false)
	@ApiModelProperty(value = "成绩状态")
	private String cjStatus;

	@TableField(exist = false)
    @ApiModelProperty(value = "排序序号")
    private Integer orderNum;

	@TableField(exist = false)
	@ApiModelProperty(value = "考试ID")
	private String examId;

	@TableField(exist = false)
	@ApiModelProperty(value = "开始时间，时间格式yyyy-MM-dd HH:mm:ss")
	private String ksBeginDate;

	@TableField(exist = false)
	@ApiModelProperty(value = "结束时间，时间格式yyyy-MM-dd HH:mm:ss")
	private String ksEndDate;

	@TableField(exist = false)
	@ApiModelProperty(value = "studentId")
	private String studentId;
	
    @ApiModelProperty(value = "remark")
    private String remark;
}
